import { defineStore } from 'pinia'
export const useLoading = defineStore('loading', {
  state: () => ({
    loading: false 
  }),
  actions: {
    showLoading() {
      this.loading = true
    },
    hidenLoading() {
      this.loading = false
    }
  }
})
